const TokenKey = "sfda_token";
export function getToken() {
  return sessionStorage.getItem(TokenKey) || "";
}

export function setToken(token) {
  return new Promise((resolve,reject)=>{
    sessionStorage.setItem(TokenKey, token);
    resolve('成功');
  })
  
}

export function removeToken() {
  sessionStorage.removeItem(TokenKey)
}
